
<?php
    include"conn.php";
    //第三步执行SQL

    $sql="select * from notes";

    $result=$db->query($sql);
    //第四步处理结果集

    $allrow=$result->fetch_all(MYSQLI_BOTH);//读出所有的行,
   
    include "index_html.php";  